package cn.xiaohui;
/*
 * 交通工具类
 */
public abstract class Transportation {
  private String number;
  private String model;
  private String admin;
  public Transportation() {
	  super();
  }
  public Transportation(String number, String model, String admin) {
	  this.number=number;
	  this.number=number;
	  this.admin=admin;
  }
  //运输方法
  public abstract void transport();
  //编号
  public void setNumber(String numbr) {
	  this.number=number;
  }
  public String getNumber() {
	  return number;
  }
  //型号
  public void setModel(String model) {
	  this.model=model;
  }
  //负责人
  public void setAdmin(String admin) {
	  this.admin=admin;
  }
  public String getAdmin() {
	  return admin;
  }
}
